import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Antd from 'ant-design-vue';
import * as echarts from 'echarts'
import axios from 'axios'
axios.defaults.baseURL =
  process.env.NODE_ENV === "development" ? "" : "https://xnsj.xdbbtswu.com/";
import 'ant-design-vue/dist/antd.css'
import VueApexCharts from 'vue-apexcharts'
import Vuesax from 'vuesax'
import 'vuesax/dist/vuesax.css' //Vuesax styles


Vue.use(VueApexCharts)
Vue.use(Antd)

Vue.use(Vuesax, {
  // options here
})
Vue.config.productionTip = false
Vue.config.devtools = true
Vue.prototype.$echarts = echarts
Vue.prototype.$axios = axios
Vue.component('apex-chart', VueApexCharts)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
